{% extends "templates/base.phtml" %}
{%block content%}
<div class="page-content-wrap">
    <div class="row">
        <div class="col-md-12">
            <form action="/admin/myinfo/recharge/" method="post" class="form-horizontal">
                <div class="panel panel-default">
                    <div class="panel-body">
                        <div class="row">
                            <div class="form-horizontal col-md-12">

                                <div class="form-group">
                                    <label class="col-md-3 col-xs-12 control-label">当前积分:</label>
                                    <div class="col-md-6 col-xs-12">
                                        <input type="text" class="form-control" value="{{user.sum}}" readonly>
                                    </div>
                                </div>
                                <div class="form-group">
                                    <label class="col-md-3 col-xs-12 control-label">充值积分:</label>
                                    <div class="col-md-6 col-xs-12">
                                        <div class="input-group">
                                            <span class="input-group-addon"><span class="fa fa-pencil"></span></span>
                                            <input name="sum" type="text" class="form-control" placeholder="请输入充值积分">
                                        </div>
                                    </div>
                                </div>

                                <div class="form-group">
                                    <label class="col-md-3 col-xs-12 control-label">支付方式：</label>
                                    <div class="col-md-6 col-xs-12 pay-way">
                                        <img src="/img/cz1.jpg">
                                        <img src="/img/cz2.jpg">
                                        <img src="/img/cz3.jpg">
                                        <img src="/img/cz4.jpg">
                                        <img src="/img/cz5.jpg">
                                        <img src="/img/cz6.jpg">
                                        <img src="/img/cz7.jpg">
                                        <img src="/img/cz8.jpg">
                                    </div>
                                </div>

                                <div class="form-group">
                                    <div class="col-md-6 col-sm-4 col-xs-4">
                                        <button class="col-md-3 col-md-offset-9 btn btn-primary">确认支付</button>
                                    </div>
                                    <div class="col-md-6 col-sm-6 col-xs-8">
                                        <button class="col-md-3 btn btn-primary">取消</button>
                                    </div>
                                </div>
                            </div>
                        </div>
                    </div>

                </div>
            </form>

        </div>
    </div>
</div>
{%endblock%}{%block end%}
<style type="text/css">
    .pay-way img{
        margin-bottom: 10px;
    }
</style>
{%endblock%}